I want to setup a module for sharing. How to do it in DXL? |
Re: How to setup a module for sharing (using DXL)?
It is enough to remove inheritance, although you need to keep in mind that changes to the access rights of the module will not be passed down to the object, meaning, that whenever you change your access rights to your module, you need to re-inherit and re-share the access again. I usually use this script to make a section from every heading below level 3. Usually that works fine.
for obj in entire current Module do { inherited obj }
for obj in entire current Module do {
if (cell obj || table obj || row obj) continue
if (obj."Object Heading" "" != "" && level obj <= 3) specific obj
}
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
Re: How to setup a module for sharing (using DXL)? Mathias Mamsch - Mon Aug 16 10:37:27 EDT 2010
It is enough to remove inheritance, although you need to keep in mind that changes to the access rights of the module will not be passed down to the object, meaning, that whenever you change your access rights to your module, you need to re-inherit and re-share the access again. I usually use this script to make a section from every heading below level 3. Usually that works fine.
for obj in entire current Module do { inherited obj }
for obj in entire current Module do {
if (cell obj || table obj || row obj) continue
if (obj."Object Heading" "" != "" && level obj <= 3) specific obj
}
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
Re: How to setup a module for sharing (using DXL)? Mathias Mamsch - Mon Aug 16 10:37:27 EDT 2010
It is enough to remove inheritance, although you need to keep in mind that changes to the access rights of the module will not be passed down to the object, meaning, that whenever you change your access rights to your module, you need to re-inherit and re-share the access again. I usually use this script to make a section from every heading below level 3. Usually that works fine.
for obj in entire current Module do { inherited obj }
for obj in entire current Module do {
if (cell obj || table obj || row obj) continue
if (obj."Object Heading" "" != "" && level obj <= 3) specific obj
}
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
Don't forget "if (isDeleted(obj)) continue" in the second loop, or in both loops when your version is 9.2.0.1. |
Re: How to setup a module for sharing (using DXL)? llandale - Mon Aug 16 18:20:01 EDT 2010
Don't forget "if (isDeleted(obj)) continue" in the second loop, or in both loops when your version is 9.2.0.1. Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS |